<?php
/**
 * @name /conf/conf.php
 * @author Michael Foss <mfoss@clarionsafety.com>
 * @version 2007.07.28
 * 
 * This is the main configuration file.
 */

ini_set('short_open_tag', 'On');

/**
 * Configuration class.
 *
 */
class Configuration {
  /**
   * Tells which type of scheme is being used;
   * useful for swapping between machines.
   *
   * @var string
   */
  var $Scheme;
  /**
   * The name of the site (ClarionSafety, Default, etc).
   *
   * @var string
   */
  var $SiteName;
  /**
   * The name of the framework being used.
   * 
   * @var string
   */
  var $Framework;
  /**
   * Whether or not https protocol is allowed on specific server.
   *
   * @var boolean
   */
  var $CanBeSecure;

  /**
   * Constructor.
   *
   * @param string $scheme
   * @return Configuration
   */
  function Configuration($scheme = 'ESU_xampplite_SKM') {
    $this->SiteName = 'SKM';
    $this->Framework = 'default';
    $this->Scheme = $scheme;
    $this->CanBeSecure = false;
  }
}

global $Config;
$Config = new Configuration('ESU_xampplite_SKM');